@import "../variable.less";
@navbgcolor: #eeeeee;
@detailcolor:#999999;
@acolor:#5e69ad;
@activitybgColor:#f3f3f3;
i{
  font-size: 12px;
}
.crumb-wrapper{
  border-top:3px solid @hovercolor;
  background: @navbgcolor;
}
.goods-detail{
  font-size: 12px;
  color: @detailcolor;
  background: @whitecolor;
  .goods-img{
    padding: 5px;
    border:1px solid @bordercolor;
    img{
      height: 464px;
    }
  }
  .goods-detail-right{
    .item{
      span{
        color: @registercolor
      }
      a{
        text-decoration:underline;
      }
      h5{
        font-weight: bold;
        font-size: 1rem;
        color: @detailcolor * 0.9;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
      }
    }
    a{
      color: @acolor;
    }
    .activity{
      position: relative;
      height: 130px;
      padding: 10px;
      background: @activitybgColor;
      .activity-type{
        color: @registercolor;
        font-size: 1.1rem;
      }
      .activity-message{
        float: right;
        color: (@detailcolor * 2) / 3;
      }

      .summary-price{
        position: relative;
        margin-bottom: 5px;
        .jd-price{
          height: 25px;
          line-height: 25px;
          position: absolute;
          top:0;
          left:0;
        }
        .dd{
          margin-left: 70px;
        }
        b{
          padding-right: 10px;
          font-size: 1.2rem;
          font-weight: 400;
          color: @registercolor;
        }
        .comment{
          position: absolute;
          padding-left: 15px;
          top: 0;
          right: 0;
          width: 70px;
          height: 35px;
          border-left: 1px solid @linecolor;
          a{
            font-size: 1.1rem;
          }
        }

      }
      .sales{
        .gift{
          margin-bottom: 10px;
        }
        .active{
          .parent-show{
            height: 63px;
            position: absolute;
            top: 120px;
            right: 0;
            left: 0;
            background: @activitybgColor;
            z-index:3;
          }
          .hover-show{
            display: block;
            position: absolute;
            top:-20px;
            left: 10%;
            margin-left: 10px;
            .buy+.buy{
              margin-top: 10px;
            }
          }
          .hover-hide{
            display: none;
          }
          .open-sales{
            display: none;
          }
        }
        .hover-show{
          display: none;
        }
        .red-border{
          color: @registercolor;
          padding:2px 5px;
          border:1px solid @registercolor;
        }
        .open-sales{
          float: right;
        }
      }
    }
  }
  .choose-wrap{
    padding: 10px;
    .distribution{
      .app-address{
        display: inline-block;
        position: relative;
        border: 1px solid #ccc;
        padding: 3px 5px;
        &:hover{
          &:after{
            content: '';
            position: absolute;
            bottom: -3px;
            left:0;
            right:0;
            height: 6px;
            background: @whitecolor;
            z-index: 4;
          }
        }
        app-address{
          display: none;
        }
        &.active{
          app-address{
            display: block;
          }
        }
      }
      .dispatch-detail{
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
      }
      .store-prompt{
        display: inline-block;
        margin-left: 5px;
        margin-right: 5px;
      }
      .serve{
        margin-left: 5px;
        display: inline-block;
        a{
          padding-right: 5px;
        }
        a+a{
          border-left:1px solid @acolor;
          padding-left: 5px;
        }
      }
      .send-goods{
        white-space: nowrap;
        overflow: hidden;
        span{
          color: @registercolor;
        }
      }
    }
    .dashed{
      height: 0;
      overflow: hidden;
      margin-top: 15px;
      border-top: 1px dotted @linecolor;
    }
    .coordinates{
      padding:7px 10px;
      border:1px solid @linecolor;
    }

    .input-text{
      position: relative;
      display: inline-block;
      margin-right: 20px;
      input{
        width: 40px;
        height: 40px;
        text-align: center;
      }
      input[type=number] {
        -moz-appearance:textfield;
      }
      input[type=number]::-webkit-inner-spin-button,
      input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
      span{
        position: absolute;
        width: 15px;
        height: 20px;
        border:1px solid @bordercolor;
        background: #f7f7f7;
        text-align: center;
        cursor: pointer;
      }
      .plus{
        top:0;
        right: -14px;
      }
      .minus{
        bottom: 0;
        right: -14px;
        border-top:0;
      }
      &+button{
        font-size: 1.2rem;
        font-weight:bold;
      }
    }
  }
}
